package jnpf.oauth.fallback;

import jnpf.base.ActionResult;
import jnpf.constant.MsgCode;
import jnpf.exception.LoginException;
import jnpf.model.LoginVO;
import jnpf.oauth.AuthApi;

import java.util.Map;

public class AuthApiFallback implements AuthApi {
    @Override
    public ActionResult<LoginVO> login(Map<String, String> parameters) throws LoginException {
        return ActionResult.fail(MsgCode.OA024.get());
    }

    @Override
    public void kickoutByToken(String[] tokens, String userId, String tenantId) {

    }
}
